package com.webamc.manager;

import com.webamc.model.Customer;

import java.util.List;
import java.util.Map;

/**
 * Created by Prash.
 * User: Choti
 * Date: Mar 26, 2009
 * Time: 12:33:48 AM
 * To change this template use File | Settings | File Templates.
 */
public interface ICustomerHandler {

    Customer view(int id);

    List<Customer> browse();

    Customer create();

    String validate(Customer u);

    Customer update(Map<String, String[]> m, int userId);

    Customer create(Map<String, String[]> m, int userId);

    List<Customer> search(Map<String, String[]> m);
}
